﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TKToXML
{
    public partial class EDHOPDDONG
    { 
        public string ToXML()
        {
            return "<AdditionalDocument>" +
                        "<issue>" + Ngay_HD.ToString("yyyy-MM-dd") + "</issue>" +
                        "<reference>" + So_HD + "</reference>" +
                        "<type>" + (int)MessageType.HopDong + "</type>" +
                        "<name>Contract</name>" +
                      "</AdditionalDocument>";
        }
    }
}
